package top.deepdesigner.service;

import top.deepdesigner.dto.OrderShipDTO;
import top.deepdesigner.pojo.DtsOrder;
import top.deepdesigner.vo.CategorySellAmts;
import top.deepdesigner.vo.CommonCatVO;
import top.deepdesigner.vo.DayStatis;
import top.deepdesigner.vo.StatOrderVO;

import java.util.List;

/**
 * Start up <br/>
 * Created with IntelliJ IDEA. <br/>
 * Project Name: shop_manage <br/>
 * Author: duanruiqing <br/>
 * DateTime: 2022/9/20 星期二 19:50:06 <br/>
 */
public interface DtsOrderService {
  Long getOrderCount();

  List<CategorySellAmts> getCategorySell();

  List<DayStatis> getOrderTotalAndCountByDate(Integer days);

  List<DtsOrder> getOrderList(Integer page, Integer limit, String sort, String order, Integer userId, String orderSn, Integer[] orderStatusArray);

  List<CommonCatVO<String, String>> getShipChannelList();

  DtsOrder getOrderById(Integer id);

  List<StatOrderVO> getOrderByDate(int days);

  Boolean shipGoods(OrderShipDTO orderShipDTO);
}
